package cn.study.luckydomain.gateway;

import cn.study.luckydomain.User.UserEntity;
import org.mapstruct.control.MappingControl;

public interface UserGateway {
    public UserEntity save(UserEntity userEntity);

    public UserEntity findByUserName(Long id,String username);
    public UserEntity updateByUserName(UserEntity userEntity);
    public UserEntity one(Long id);
}
